#include <iostream>

using namespace std;

void clear_array(double[], int);
void print_array(double[], int);

int main(){
	int size = 5;
	double a[size];// = {1,45,3,6,4};
	//print_array(a, size);
	clear_array(a, size);
	print_array(a, size);

	return 0;
}

void clear_array(double a[], int size)
{
	for (int i = 0; i < size ; i++ ){
		a[i] = 0;
	}
}
void print_array(double a[], int size){
	for (int i = 0; i < size; ++i)
	{
		cout << a[i] << " ";
	}
	cout << endl;
}